import 'package:json_annotation/json_annotation.dart';

part 'AppLoginReq.g.dart';

@JsonSerializable()
class AppLoginReq {
  String? phone;
  String? password;

  AppLoginReq(this.phone, this.password);

  @override
  String toString() {
    return 'AppLoginReq{phone: $phone, password: $password}';
  }

  Map<String, dynamic> toJson() {
    return _$AppLoginReqToJson(this);
  }
}
